package cn.gok.service;

import cn.gok.entity.User;

/**
 * @author shikundai
 * @date 2021/3/21
 * @time 14:03
 * @description
 */
public interface UserService {
    /**
     * @author shikundai
     * @date 2021/3/21
     * @time 14:04
     * @description 通过用户名获取用户信息
     */
    public User getUser(String name);
    /**
     * @author shikundai
     * @date 2021/3/21
     * @time 14:29
     * @description 添加用户信息
     */
    public int addUser(User user);
}
